Nuprl Lemma : priority-select-ff
0,22
postcript
pdf
T
:Type,
as
:
T
List,
f
,
g
:(
T
).
T
sorted(
as
)
(priority-select(
f
;
g
;
as
) = inl(false
)
+Unit
(
(
(
a
as
.
g
(
a
) & (
b
:
T
. (
b
as
)
b
a
f
(
b
))))
latex
Definitions
P
&
Q
,
x
:
A
.
B
(
x
)
,
sorted(
L
)
,
(
x
L
.
P
(
x
))
,
t
T
,
x
:
A
.
B
(
x
)
,
b
,
A
,
A
B
,
P
Q
,
Prop
,
(
x
l
)
,
x
.
t
(
x
)
,
P
Q
,
{
i
..
j
}
,
False
,
||
as
||
,
i
j
<
k
,
l
[
i
]
,
P
Q
,
Unit
,
false
,
priority-select(
f
;
g
;
as
)
,
,
S
T
,
,
P
Q
,
Dec(
P
)
,
A
&
B
,
i
j
,
{
T
}
,
SQType(
T
)
Lemmas
decidable
int
equal
,
decidable
le
,
select
member
,
sorted
wf
,
priority-select-property
,
iff
functionality
wrt
iff
,
bool
wf
,
priority-select
wf
,
bfalse
wf
,
unit
wf
,
int
seg
wf
,
select
wf
,
length
wf1
,
l
exists
wf
,
l
member
wf
,
le
wf
,
not
wf
,
assert
wf
origin